/**
 * author      : dormi330
 * date        : 2018/6/24
 * project     : mybatis
 * description : TODO
 */

package com.deep.trade.infrastructure.mybatis.order;

import com.deep.trade.domain.order.DeliveryAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface DeliveryAddressMapper {

    void insert(@Param("eo") DeliveryAddress eo);

    DeliveryAddress queryByTradeOrder(
            @Param("tenantCode") String tenantCode,
            @Param("tradeOrderId") String tradeOrderId
    );

}
